package com.hmy.contract.bo.request.oss;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.InputStream;
import java.io.Serializable;

/**
 * @author seven.qi 齐胜南
 * @version 1.0
 * @description
 * @date 2023/12/27 14:02
 */

@Data
public class OssFileUploadRequest implements Serializable {

    private static final long serialVersionUID = -5519718616068554534L;

    /**
     * 文件流
     */
    private InputStream inputStream;

    /**
     * 待存入文件路径
     */
    @NotNull(message = "文件路径不能为空")
    private String filePath;

    @NotNull(message = "存储路径")
    private String storePath;
}
